#ifndef NEWPROJECT_H
#define NEWPROJECT_H

#include <QDialog>
#include "newProjectArgs.h"

namespace Ui {
class newProject;
}

class newProject : public QDialog
{
    Q_OBJECT

public:
    //explicit newProject(NewProjectArgs &args, QWidget *parent = 0);
    explicit newProject(QWidget *parent = 0);
    ~newProject();

signals:
    void messageSent(newProjectArgs args);

private slots:
    void on_cancelButton_clicked();

    void on_commitButton_clicked();

    void on_name_editingFinished();

    void on_width_editingFinished();

    void on_height_editingFinished();

    void on_fps_editingFinished();

private:
    Ui::newProject *ui;
    newProjectArgs args;
    //QString proName;
    //int width;
    //int height;
    //int fps;
    //int index;
};

#endif // NEWPROJECT_H
